// @ts-nocheck
import * as http from '@/tools/http'



/*获取全部区域*/
export async function queryDistrict(params: object) {
  return http.get('/api/resource/district',params)
}

/*新建区域*/
export async function createDistrict(params: object) {
  return http.post('/api/resource/district',params)
}

/*修改区域*/
export async function modifyDistrict(params: object) {
  return http.put('/api/resource/district',params)
}

export async function delDistrict(params: object) {
  return http.del('/api/resource/district',params)
}
